package Collection;

import java.util.ArrayList;
import java.util.List;

/**
 * Created by XQ on 2017/5/24.
 */
public class MyList {
    public static void main(String[] args) {
        List list = new ArrayList();
        for (int i = 0; i < 100; i++) {
            list.add(i);
        }
        list.remove(2);
        for (int i = 0; i < list.size(); i++) {
            System.out.print(list.get(i)+" ");
        }
    }
}
